package com.yupi.yurpc.config;

import com.yupi.yurpc.serializer.SerializerKeys;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * RPC 框架配置
 */

@Data
public class RpcConfig {
    /**
     *
     名称
     */
    private String name = "yu-rpc";
    /**
     *
     版本号
     */
    private String version = "1.0";
    /**
     *
     /**
     *
     服务器主机名
     */
    private String serverHost = "localhost";

    /**
     *
     }
     注册中心配置
     */
    private RegistryConfig registryConfig = new RegistryConfig();


    /**
     * 模拟调用
     */
    private boolean mock = false;

    private  String serializer= SerializerKeys.JDK;

    private Integer serverPort = 8080;



}